package com.jike.noobmoney.adapter;


import android.content.Context;

import com.jike.noobmoney.R;
import com.jike.noobmoney.entity.CateListEntity;


/**
 * Created by kekex on 2018/9/8.
 * 发布任务类型的list
 */

public class TaskTypeListAdapter extends BaseRecyclerAdapter<CateListEntity.CatelistBean> {


    private Context context;

    public TaskTypeListAdapter(Context context) {
        super(R.layout.item_task_type);
        this.context = context;
    }

    @Override
    protected void onBindViewHolder(SmartViewHolder holder, CateListEntity.CatelistBean item, int position) {
        holder.text(R.id.tv_item_task_list,item.getCatename());
    }
}
